package cn.ljy.authority.dao.mapper;

import cn.ljy.authority.dao.BaseMapper;
import cn.ljy.authority.model.SysUserRegLog;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface SysUserRegLogMapper extends BaseMapper<SysUserRegLog> {
    /**
     * 根据账户id删除对应的记录信息集合
     * @param userId 账户id
     * @return  删除的记录数，>=1表示删除成功，0表示删除失败
     */
    int deleteByUserId(long userId);
}
